package com.yjyw.tiexie.bean;

import java.util.List;

public class RoleListBean {

    /**
     * success : true
     * code : 1
     * message : 操作成功！
     * data : {"type":3,"teacherId":"1258363307421655042","classGradeList":[{"id":1252902982371045377,"className":"1-1","session":1,"positions":[2],"roles":[2],"friendListName":"jojo"},{"id":1254332827495845889,"className":"五年级五班","session":5,"positions":null,"roles":[3],"friendListName":"jojo"},{"id":1258236664355016705,"className":"六年6班","session":7,"positions":null,"roles":[4],"friendListName":"jojo"},{"id":1258364340008968193,"className":"奥赛一班","session":1,"positions":null,"roles":[1,2,5],"friendListName":"jojo"}],"childInfoList":[{"id":1262208201995157505,"childName":"静静","classGradeId":1258364340008968193,"className":"奥赛一班","friendListName":"静静的爸爸"}]}
     */

    private boolean success;
    private int code;
    private String message;
    private DataBean data;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * type : 3
         * teacherId : 1258363307421655042
         * classGradeList : [{"id":1252902982371045377,"className":"1-1","session":1,"positions":[2],"roles":[2],"friendListName":"jojo"},{"id":1254332827495845889,"className":"五年级五班","session":5,"positions":null,"roles":[3],"friendListName":"jojo"},{"id":1258236664355016705,"className":"六年6班","session":7,"positions":null,"roles":[4],"friendListName":"jojo"},{"id":1258364340008968193,"className":"奥赛一班","session":1,"positions":null,"roles":[1,2,5],"friendListName":"jojo"}]
         * childInfoList : [{"id":1262208201995157505,"childName":"静静","classGradeId":1258364340008968193,"className":"奥赛一班","friendListName":"静静的爸爸"}]
         */

        private int type;
        private String teacherId;
        private String headUrl;
        private List<ClassGradeListBean> classGradeList;
        private List<ChildInfoListBean> childInfoList;

        public String getHeadUrl() {
            return headUrl;
        }

        public void setHeadUrl(String headUrl) {
            this.headUrl = headUrl;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getTeacherId() {
            return teacherId;
        }

        public void setTeacherId(String teacherId) {
            this.teacherId = teacherId;
        }

        public List<ClassGradeListBean> getClassGradeList() {
            return classGradeList;
        }

        public void setClassGradeList(List<ClassGradeListBean> classGradeList) {
            this.classGradeList = classGradeList;
        }

        public List<ChildInfoListBean> getChildInfoList() {
            return childInfoList;
        }

        public void setChildInfoList(List<ChildInfoListBean> childInfoList) {
            this.childInfoList = childInfoList;
        }
    }
}
